package com.yijumao.shop.service;

import com.yijumao.shop.domain.Orders;

import java.util.List;

/**
 * @author konley
 * @date 2020-11-15 15:50
 */
public interface OrderService {
    int deleteByPrimaryKey(String oid);

    int insert(Orders record);

    Orders selectByPrimaryKey(String oid);

    List<Orders> selectAll();

    int updateByPrimaryKey(Orders record);

    //生成订单的方法
    void creatOrder(Orders orders);

    ///查询某用户的所有订单
    List<Orders> selectByUid(Integer uid);
}
